#include <stdio.h>

int main()
{
	char str[100]={0};
	scanf("%s",str);
	int count=0;
	char* p=str;
	while(*p!='\0')
	{
		p++;
		count++;
	}
	printf("%d",count);
	return 0;
}